package top.haijunit.navi.auth.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.haijunit.framework.mybatis.domain.BasicEntity;

/**
 * 部门表
 */
@Data
@TableName(value = "repo_department")
public class DeptEntity extends BasicEntity {

    /**
     * 部门code
     */
    @TableField(value = "uniqCode", fill = FieldFill.INSERT)
    private Long deptCode;

    /**
     * 父级部门code
     */
    private Long parentCode;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 部门别名
     */
    private String nickname;

    /**
     * 部门描述信息
     */
    private String remarks;

    /**
     * 部门等级
     */
    private Integer deptLevel;


}
